/*
 * @Description: 业务异常
 * @Author: Haor
 * @Date: 2022-05-09 11:28:17
 * @LastEditTime: 2022-05-09 13:15:08
 * @LastEditors: Haor
 */
import { HttpStatus } from '@nestjs/common'
import { BaseException } from './base.exception'
import { ResponseCode } from "@libs/http.result";

export class BusinessException extends BaseException {
	constructor(message: string) {
		super(ResponseCode.FAILED, message, HttpStatus.BAD_REQUEST)
	}
}
